package com.sc.nft.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sc.nft.entity.UserCreatorPhoneRecord;
import com.sc.nft.entity.dto.AdminUserCreatorPhoneRecordDTO;
import com.sc.nft.entity.vo.AdminUserCreatorPhoneRecordVO;
import com.sc.nft.mapper.UserCreatorPhoneRecordMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Repository;

/**
 * (sc_user_creator_phone_record)数据DAO
 * @author 朱梦晨
 * @Description: 修改品牌手机号
 * @date 2024-07-13
 */
@Slf4j
@Repository
public class UserCreatorPhoneRecordDao extends ServiceImpl<UserCreatorPhoneRecordMapper, UserCreatorPhoneRecord> {


    /**
     * 修改手机号记录page
     * @param adminUserCreatorPhoneRecordDTO
     * @return
     */
    public Page<AdminUserCreatorPhoneRecordVO> getUserCreatorPhoneRecordById(AdminUserCreatorPhoneRecordDTO adminUserCreatorPhoneRecordDTO) {
        return baseMapper.findUserCreatorPhoneRecordById(adminUserCreatorPhoneRecordDTO.toMp(),adminUserCreatorPhoneRecordDTO.getDaoId());
    }



}
